﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="deleteuser.aspx.cs" Inherits="HYSoft.Web.deleteuser" %>
<%@ Register Src="~/Controls/menu.ascx" TagName="uc2" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/Search.ascx" TagName="uc1" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <link href="CSS/mainstyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
  <uc2:uc2 ID="head" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
        <div class="tables">
            <div class="toplogo">
                 <div>
                    <img src="Images/top_2.png" width="10%" style="float: left;" />
                    <img src="Images/top.PNG" width="80%" style="float: left;" />
                    <img src="Images/top_2.png" width="10%" style="float: left;" />
                </div>
                <div style="position:relative;height:10px;top:-70px;margin:0px 0px 0px 25%;">
                <strong style="font-size:20px;">删除部分用户</strong>
                </div>
            <table width="100%">
                <tr style="background: url(images/ws3.jpg) repeat-x; font-weight: bold;">
                    <td>
                        用户名
                    </td>
                    <td>
                        单位
                    </td>
                    <td>
                        所在区县
                    </td>
                    <td>
                        联系人姓名
                    </td>
                    <td>
                        手机
                    </td>
                    <td>
                        用户类型
                    </td>
                    <td>
                        删除操作
                    </td>
                </tr>
                <asp:ListView ID="ListView1" runat="server">
                 <ItemTemplate>
                        <tr onmouseover="overColor(this)" onmouseout="outColor(this)">
                            <td>
                                &nbsp;<a href="superadmin.aspx?touid=<%#Eval("index")%>"><%#Eval("Loginname")%></a></td>
                            <td>
                                &nbsp;<a><%#Eval("Unit")%></a></td>
                            <td>
                                &nbsp;<a><%#Eval("[Addr]") %></a></td>
                            <td>
                                &nbsp;<a><%#Eval("Name")%></a></td>
                            <td>
                                &nbsp;<a><%#Eval("Mobile") %>&nbsp;</a>
                            </td>
                            <td>
                                &nbsp;<a><%#Eval("UserType")%></a></td>
                            <td>
                                &nbsp;<a href="javascript:Del(<%#Eval("Index")%>);"><img style="height:auto;" src="Images/del.gif"
                                    border="0" alt="删除" /></a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:ListView>

              <%--  <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <tr onmouseover="overColor(this)" onmouseout="outColor(this)">
                            <td>
                                &nbsp;<a href="superadmin.aspx?touid=<%#Eval("index")%>"><%#Eval("Loginname")%></a></td>
                            <td>
                                &nbsp;<a><%#Eval("Unit")%></a></td>
                            <td>
                                &nbsp;<a><%#Eval("[Addr]") %></a></td>
                            <td>
                                &nbsp;<a><%#Eval("Name")%></a></td>
                            <td>
                                &nbsp;<a><%#Eval("Mobile") %>&nbsp;</a>
                            </td>
                            <td>
                                &nbsp;<a><%#Eval("UserType")%></a></td>
                            <td>
                                &nbsp;<a href="javascript:Del(<%#Eval("Index")%>);"><img style="height:auto;" src="Images/del.gif"
                                    border="0" alt="删除" /></a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>--%>
            </table>
        </div>
        <div style=" text-align:center;  margin-left:200px; height:100px; margin-right:auto;">
        <uc1:uc1 ID="search" runat="server" />
        </div>
    </div>
    <script type="text/javascript">
        function Del(ID) {
            if (confirm('你确认删除改用户信息?')) {
                self.location = "?Type=Del&ID=" + ID;
            }
        }
    </script>
</asp:Content>
